<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
</head>

<body>
<form method="post" action="index.php?g=admin&m=user&a={$action}">
用户名<input type="text" name="username" value="{$user_info['username']}" />
密码<input type="password" name="new_password" />
确认密码<input type="password" name="confirm_password" />
用户组<select name="group_id">
{foreach from=$user_group item=group}
<option {if $user_info['group_id'] eq $group.id} selected="selected"{/if} value="{$group.id}">{$group.name}</option>
{/foreach}
</select>
email<input type="text" name="email" value="{$user_info['email']}" />
qq<input type="text" name="qq" value="{$user_info['qq']}" />
<input type="hidden" name="id" value="{$id}" />
<input type="submit" value="sumbit" />
</form>
</body>
</html>